package exception;

public class ExpenseNotEnoughException extends Exception{
	private double expense;
	private static final long serialVersionUID = -4350170026683413321L;

	
	public ExpenseNotEnoughException(double expense){
		    super("Expense is not enough");
			this.expense=expense;
	}
	
	public String getMessage(){
		return super.getMessage();
	}
	
	public double getPrice(){
		return this.expense;
	}
}
